<?php
/**
 * @version $Id: view.html.php 286 2011-12-19 04:18:27Z lnmtrung $
 */
 
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport( 'joomla.application.component.view' );

class WrdViewTtransaction extends WrdView{
	
	function display($tpl = null) {
		$fnc = 'display'.ucfirst($this->getLayout());
		if (is_callable(array(&$this, $fnc)))
			$this->$fnc($tpl);
		else
			parent::display($tpl);
	}

	function displayDefault($tpl = null){
		global $mainframe, $context;
		
		WrdHelper::addSubMenu('config',$view);
		$this->sidebar = JHtmlSidebar::render();
		
	    $document = & JFactory::getDocument();
		$document->setTitle( JText::_('Transaction manager') );

		JToolBarHelper::title(JText::_('Transaction manager'),'transaction.png');
	    parent::display($tpl);
  	}
}
?>